package com.lhkj.ct.base.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * <p>
 *     删除状态
 * </p>
 */
public enum DeleteStatus implements IEnum<Integer> {

    NORMAL(0, "未删除"), DELETED(1, "已删除");

    @EnumValue
    private final int code;

    private final String desc;

    DeleteStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return code;
    }

//    public String getLabel() {
//        return desc;
//    }
}
